Skip to content

Fix indentation in code block of user_guide/i18n #2248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aknierim
Copy link

@aknierim aknierim commented Aug 6, 2025

Hi,
this small PR fixes the indentation of the setup() function body in the conf.py code block found in user_guide/i18n.rst.

- Fixes indentation of `setup()` function in `conf.py` code block
Copy link
Contributor

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, I have observed some editors reformat .rst files to use 3 spaces when code-block is in an enumerated list that uses only 3 spaces for indentation. To avoid this, see https://stackoverflow.com/a/48313531/2214933 and https://stackoverflow.com/a/45683081/2214933.

@aknierim
Copy link
Author

aknierim commented Aug 6, 2025

That is good to keep in mind, cheers!

@trallard trallard added the kind: documentation Improvements or additions to documentation label Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants